<body>
<script src="full-screen-test.js"></script>
<div>This tests that a full-screen request which is not user-initiated will be rejected.
<script>
    waitForEvent(document, 'webkitfullscreenchange', function() {
       logResult("Entered full screen.", false);
       endTest();
    });
    if (window.testRunner)
        testRunner.setPopupBlockingEnabled(true);
    waitForEventOnceAndEnd(document, 'webkitfullscreenerror');
    document.documentElement.webkitRequestFullScreen();
</script>
